package com.cheetah.start.common.config.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Feel
 * @create 2021/7/18
 **/
@Data
@Component
@ConfigurationProperties("admin")
public class AdminProperty {

    /**
     * 限制
     */
    private int limit;
    /**
     * 时间间隔
     */
    private int interval;
}
